@
Olha umas 15 paginas atras q tem estou sem tempo pra achar
Por lucashgas, 10 de jan. de 2012 em Tópicos Sem Resposta
info
Grupo: Cavaleiro
Registrado: 13/07/11
Posts: 152
Reputação: +22
Char no Tibia: Kois

Ae povo eu tava lendo a umas milhoes de paginas atraz q tem gente falando que esse erro aqui é de respaw no mapa seila oq, e acho q por causa disso o resp de shiny n ta rolando :S
[14/04/2012 02:03:58] [Error - CreatureScript Interface]
[14/04/2012 02:03:58] In a timer event called from:
[14/04/2012 02:03:58] data/creaturescripts/scripts/spawn.lua:onSpawn
[14/04/2012 02:03:58] Description:
[14/04/2012 02:03:58] data/lib/level system.lua:590: attempt to index field '?' (a nil value)
[14/04/2012 02:03:58] stack traceback:
[14/04/2012 02:03:58] data/lib/level system.lua:590: in function 'setWildPokemonLevel'
[14/04/2012 02:03:58] data/creaturescripts/scripts/spawn.lua:22: in function <data/creaturescripts/scripts/spawn.lua:19>
de boa é mesmo ??? pq se for no caso eu teria q limpar o resp do meu mapa e fazer novo ?!?!? da um help ae poco
segue minha spaw.lua
AHHH Esse erro acontece logo depois que o server fica ON
local shinys = {
"Bulbasaur", "Ivysaur", "Venusaur", "Charmander", "Charmeleon", "Charizard", "Squirtle", "Wartortle", "Blastoise",
"Caterpie", "Metapod", "Butterfree", "Weedle", "Kakuna", "Beedrill", "Pidgey", "Pidgeotto", "Pidgeot", "Rattata",
"Raticate", "Spearow", "Fearow", "Ekans", "Arbok", "Pikachu", "Raichu", "Sandshrew", "Sandslash", "Nidoran Female",
"Nidorina", "Nidoqueen", "Nidoran Male", "Nidorino", "Nidoking", "Clefairy", "Clefable", "Vulpix", "Ninetales",
"Jigglytuff", "Wigglytuff", "Zubat", "Golbat", "Odish", "Gloom", "Vileplume", "Paras", "Parasect", "Venonat", "Venomoth",
"Diglett", "Dugtrio", "Mewoth", "Persian", "Psyduck", "Golduck", "Mankey", "Primeape", "Growlithe", "Arcanine",
"Poliwag", "Poliwhirl", "Poliwrath", "Abra", "Kadabra", "Alakazam", "Machop", "Machoke", "Machamp", "Bellsprout",
"Weepinbell", "Victreebel", "Tentacool", "Tentacruel", "Geodude", "Graveler", "Golem", "Ponyta", "Rapidash", "Slowpoke",
"Slowbro", "Magnamite", "Magneton", "Farfetch'd", "Doduo", "Dodrio", "Seel", "Dewgong", "Grimer", "Muk", "Shellder",
"Cloyster", "Gastly", "Haunter", "Gengar", "Onix", "Drowzee", "Hypno", "Krabby", "Kingler", "Voltorb", "Electrode",
"Exeggcute", "Exeggutor", "Cubone", "Marowak", "Hitmonlee", "Hitmonchan", "Lickitung", "Koffing", "Weezing", "Rhyhorn",
"Rhydon", "Chansey", "Tangela", "Kangaskhan", "Horsea", "Seadra", "Goldeen", "Seaking", "Staryu", "Starmie", "Mr. Mime",
"Scyther", "Jynx", "Electabuzz", "Magmar", "Pinsir", "Tauros", "Magikarp", "Gyarados", "Lapras", "Ditto", "Eevee", "Vaporeon",
"Jolteon", "Flareon", "Porygon", "Omanyte", "Omastar", "Kabuto", "Kabutops", "Snorlax", "Dragonair", "Dratini"
}
local raros = {"Articuno", "Zapdos", "Moltreas", "Mew", "Mewtwo", "Dragonite", "Aerodactyl"}
local function doPokemonRegisterLevel(cid)
if not isCreature(cid) then return true end
if getWildPokemonLevel(cid) == -1 then
setWildPokemonLevel(cid)
end
end
local function doSetRandomGender(cid)
if not isCreature(cid) then return true end
local gender = 0
local name = getCreatureName(cid)
if not newpokedex[name] then return true end
local rate = newpokedex[name].gender
if rate == 0 then
gender = 3
elseif rate == 1000 then
gender = 4
elseif rate == -1 then
gender = 0
elseif math.random(1, 1000) <= rate then
gender = 4
else
gender = 3
end
doCreatureSetSkullType(cid, gender)
end
local function doShiny(cid)
if isCreature(cid) then
if isSummon(cid) then return true end
if getPlayerStorageValue(cid, 74469) >= 1 then return true end
if isNpcSummon(cid) then return true end
if isInArray(shinys, getCreatureName(cid)) then
transform = math.random(1, 1) --1% chance
elseif isInArray(raros, getCreatureName(cid)) then
transform = math.random(1, 1000) --0.1% chance
elseif not isInArray(raros, getCreatureName(cid)) and not isInArray(shinys, getCreatureName(cid)) then
return true
end
if transform == 10 then
doSendMagicEffect(getThingPos(cid), 18)
local shi = doCreateMonster("Shiny ".. getCreatureName(cid) .."", getThingPos(cid))
setPlayerStorageValue(shi, 74469, 1)
setPlayerStorageValue(cid, 74469, 1)
doRemoveCreature(cid)
else
setPlayerStorageValue(cid, 74469, 1)
end
else
return true
end
end
function onSpawn(cid)
registerCreatureEvent(cid, "GeneralConfiguration")
registerCreatureEvent(cid, "DirectionSystem")
registerCreatureEvent(cid, "CastSystem")
if isSummon(cid) then
registerCreatureEvent(cid, "SummonDeath")
return true
end
registerCreatureEvent(cid, "Experience")
addEvent(doPokemonRegisterLevel, 5, cid)
addEvent(doSetRandomGender, 5, cid)
addEvent(doShiny, 10, cid)
return true
end
Editado Abril 14 por kayser
info
Grupo: Visconde
Registrado: 21/11/11
Posts: 323
Reputação: +17
Char no Tibia: Nao tenhu

@All
Queria colocar pra shiny ditto tambem tranformar pelo Order que nem o ditto normal como faço isso?
info
Grupo: Campones
Registrado: 29/06/10
Posts: 28
Reputação: 0
Char no Tibia: Legendary math

manda ae ja pronto ![]()
com client ajeitado e etc...
shinys etc etc... sera q alguem manda?
@Edit
Relaxa ja ajeitei tudo aki ja n preciso mais vlw !
tudo pronto ![]()
@Edit2
se quiserem mando o meu pra voces sem erro nenhum
all perfect
@Edit3
so n ajeitei ainda o cdbar mais e facil..
@Edit4
e o mapa acho que nao vai poder pegar um pronto :s nao tenho certeza naum
se pegar um pronto vai ter que fuça um pouco ai
@Edit5
Pode pegar um mapa pronto sim porem nao pode ter respawn voce tera que colocar tudo ![]()
Editado Abril 14 por OtStriker
info
Grupo: Campones
Registrado: 29/06/10
Posts: 28
Reputação: 0
Char no Tibia: Legendary math

sera que podem me manda a spr de vocess ?
@edit
manda o client todo kk!
Editado Abril 14 por OtStriker
info
Grupo: Visconde
Registrado: 10/02/11
Posts: 377
Reputação: +78

sera que podem me manda a spr de vocess ?
@edit
manda o client todo kk!
pego o do Nibelins o dele é o q esta melhor
é o q o povo + usa aqui
info
Grupo: Campones
Registrado: 16/07/11
Posts: 90
Reputação: +7

Alguem ake pode fazer um tutorial como recortas sprites e colocar no cliente?
info
Grupo: Cavaleiro
Registrado: 13/07/11
Posts: 152
Reputação: +22
Char no Tibia: Kois

http://poketibiatutoriais.blogspot.com.br/search/label/Turoriais%20de%20Spriter
@
Jefesson entra no link aii que ensina
Em relação aos respawns tem como sim!!!!
Eu coloquei todos respawns depois só você editar :*
Se quiser pede eu passo.
@DUVIDA como eu habilito os outfits ? porque só ta dando pra usar o pokemon trainer ://
what about changing the player exp lvl for a player badge lvl?
For exemple: Instead of being needed lvl 30 to use Pokemon lvl 50, you have to have 2 badge lvls, Brock and Misty.
How can I implement it?
info
Grupo: Cavaleiro
Registrado: 13/07/11
Posts: 152
Reputação: +22
Char no Tibia: Kois

Em relação aos respawns tem como sim!!!!
Eu coloquei todos respawns depois só você editar :*
Se quiser pede eu passo.
@DUVIDA como eu habilito os outfits ? porque só ta dando pra usar o pokemon trainer ://
se no seu server tive premium gratis vc tira
premium="yes">
e deixa
<outfit id="1">
<list gender="0" lookType="511" name="Free Trainer"/>
<list gender="1" lookType="510" name="Free Trainer"/>
</outfit>
info
Grupo: Visconde
Registrado: 21/11/11
Posts: 323
Reputação: +17
Char no Tibia: Nao tenhu

@ALL
UMAS DAS METAS QUASE PRONTA RUMO AO 100
DEPOIS QUE COLOCAR DEDICADO RUMO AO 200
Uploaded with ImageShack.us
info
Grupo: Visconde
Registrado: 21/11/11
Posts: 323
Reputação: +17
Char no Tibia: Nao tenhu
Eu consegui resolver vai em spells/lib/loweffect e os outros e add "Shiny Geodude" , todos os 151 shinys